package asteroids.model.programs.expression;

import asteroids.Util;
import asteroids.model.programs.type.*;

public class LessThanOrEqualTo extends Comparision {

	public LessThanOrEqualTo(int line, int column, E left, E right) {
		super(line, column, left, right);
	}

	@Override
	public Bool getValue() {
		return new Bool(Util.fuzzyLessThanOrEqualTo(((DoubleType) getLeft().getValue()).getValue(), ((DoubleType) getRight().getValue()).getValue()));
	}
	
	

}
